3.7.38 \(\int \frac {(a+b x^2)^2}{x^4 (c+d x^2)^{3/2}} \, dx\)

Optimal. Leaf size=97 \[ -\frac {a^2}{3 c x^3 \sqrt {c+d x^2}}+\frac {x \left (3 b^2 c^2-4 a d (3 b c-2 a d)\right )}{3 c^3 \sqrt {c+d x^2}}-\frac {2 a (3 b c-2 a d)}{3 c^2 x \sqrt {c+d x^2}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 98, normalized size of antiderivative = 1.01, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {462, 453, 191} \begin {gather*} \frac {x \left (8 a^2 d^2-12 a b c d+3 b^2 c^2\right )}{3 c^3 \sqrt {c+d x^2}}-\frac {a^2}{3 c x^3 \sqrt {c+d x^2}}-\frac {2 a (3 b c-2 a d)}{3 c^2 x \sqrt {c+d x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x^2)^2/(x^4*(c + d*x^2)^(3/2)),x]

[Out]

-a^2/(3*c*x^3*Sqrt[c + d*x^2]) - (2*a*(3*b*c - 2*a*d))/(3*c^2*x*Sqrt[c + d*x^2]) + ((3*b^2*c^2 - 12*a*b*c*d +
8*a^2*d^2)*x)/(3*c^3*Sqrt[c + d*x^2])

Rule 191

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^(p + 1))/a, x] /; FreeQ[{a, b, n, p}, x] &
& EqQ[1/n + p + 1, 0]

Rule 453

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(c*(e*x)^(m
+ 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] + Dist[(a*d*(m + 1) - b*c*(m + n*(p + 1) + 1))/(a*e^n*(m + 1)), In
t[(e*x)^(m + n)*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[b*c - a*d, 0] && (IntegerQ[n] ||
GtQ[e, 0]) && ((GtQ[n, 0] && LtQ[m, -1]) || (LtQ[n, 0] && GtQ[m + n, -1])) &&  !ILtQ[p, -1]

Rule 462

Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^2, x_Symbol] :> Simp[(c^2*(e*x)^(
m + 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] - Dist[1/(a*e^n*(m + 1)), Int[(e*x)^(m + n)*(a + b*x^n)^p*Simp[b
*c^2*n*(p + 1) + c*(b*c - 2*a*d)*(m + 1) - a*(m + 1)*d^2*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, p}, x] && Ne
Q[b*c - a*d, 0] && IGtQ[n, 0] && LtQ[m, -1] && GtQ[n, 0]

Rubi steps

\begin {align*} \int \frac {\left (a+b x^2\right )^2}{x^4 \left (c+d x^2\right )^{3/2}} \, dx &=-\frac {a^2}{3 c x^3 \sqrt {c+d x^2}}+\frac {\int \frac {2 a (3 b c-2 a d)+3 b^2 c x^2}{x^2 \left (c+d x^2\right )^{3/2}} \, dx}{3 c}\\ &=-\frac {a^2}{3 c x^3 \sqrt {c+d x^2}}-\frac {2 a (3 b c-2 a d)}{3 c^2 x \sqrt {c+d x^2}}-\frac {1}{3} \left (-3 b^2+\frac {4 a d (3 b c-2 a d)}{c^2}\right ) \int \frac {1}{\left (c+d x^2\right )^{3/2}} \, dx\\ &=-\frac {a^2}{3 c x^3 \sqrt {c+d x^2}}-\frac {2 a (3 b c-2 a d)}{3 c^2 x \sqrt {c+d x^2}}+\frac {\left (3 b^2-\frac {4 a d (3 b c-2 a d)}{c^2}\right ) x}{3 c \sqrt {c+d x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 74, normalized size = 0.76 \begin {gather*} \frac {a^2 \left (-c^2+4 c d x^2+8 d^2 x^4\right )-6 a b c x^2 \left (c+2 d x^2\right )+3 b^2 c^2 x^4}{3 c^3 x^3 \sqrt {c+d x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^2)^2/(x^4*(c + d*x^2)^(3/2)),x]

[Out]

(3*b^2*c^2*x^4 - 6*a*b*c*x^2*(c + 2*d*x^2) + a^2*(-c^2 + 4*c*d*x^2 + 8*d^2*x^4))/(3*c^3*x^3*Sqrt[c + d*x^2])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.16, size = 81, normalized size = 0.84 \begin {gather*} \frac {-a^2 c^2+4 a^2 c d x^2+8 a^2 d^2 x^4-6 a b c^2 x^2-12 a b c d x^4+3 b^2 c^2 x^4}{3 c^3 x^3 \sqrt {c+d x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(a + b*x^2)^2/(x^4*(c + d*x^2)^(3/2)),x]

[Out]

(-(a^2*c^2) - 6*a*b*c^2*x^2 + 4*a^2*c*d*x^2 + 3*b^2*c^2*x^4 - 12*a*b*c*d*x^4 + 8*a^2*d^2*x^4)/(3*c^3*x^3*Sqrt[
c + d*x^2])

________________________________________________________________________________________

fricas [A]  time = 1.36, size = 85, normalized size = 0.88 \begin {gather*} \frac {{\left ({\left (3 \, b^{2} c^{2} - 12 \, a b c d + 8 \, a^{2} d^{2}\right )} x^{4} - a^{2} c^{2} - 2 \, {\left (3 \, a b c^{2} - 2 \, a^{2} c d\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{3 \, {\left (c^{3} d x^{5} + c^{4} x^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^2/x^4/(d*x^2+c)^(3/2),x, algorithm="fricas")

[Out]

1/3*((3*b^2*c^2 - 12*a*b*c*d + 8*a^2*d^2)*x^4 - a^2*c^2 - 2*(3*a*b*c^2 - 2*a^2*c*d)*x^2)*sqrt(d*x^2 + c)/(c^3*
d*x^5 + c^4*x^3)

________________________________________________________________________________________

giac [B]  time = 0.45, size = 199, normalized size = 2.05 \begin {gather*} \frac {{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} x}{\sqrt {d x^{2} + c} c^{3}} + \frac {2 \, {\left (6 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} a b c \sqrt {d} - 3 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} a^{2} d^{\frac {3}{2}} - 12 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a b c^{2} \sqrt {d} + 12 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a^{2} c d^{\frac {3}{2}} + 6 \, a b c^{3} \sqrt {d} - 5 \, a^{2} c^{2} d^{\frac {3}{2}}\right )}}{3 \, {\left ({\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} - c\right )}^{3} c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^2/x^4/(d*x^2+c)^(3/2),x, algorithm="giac")

[Out]

(b^2*c^2 - 2*a*b*c*d + a^2*d^2)*x/(sqrt(d*x^2 + c)*c^3) + 2/3*(6*(sqrt(d)*x - sqrt(d*x^2 + c))^4*a*b*c*sqrt(d)
 - 3*(sqrt(d)*x - sqrt(d*x^2 + c))^4*a^2*d^(3/2) - 12*(sqrt(d)*x - sqrt(d*x^2 + c))^2*a*b*c^2*sqrt(d) + 12*(sq
rt(d)*x - sqrt(d*x^2 + c))^2*a^2*c*d^(3/2) + 6*a*b*c^3*sqrt(d) - 5*a^2*c^2*d^(3/2))/(((sqrt(d)*x - sqrt(d*x^2
+ c))^2 - c)^3*c^2)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 77, normalized size = 0.79 \begin {gather*} -\frac {-8 a^{2} d^{2} x^{4}+12 a b c d \,x^{4}-3 b^{2} c^{2} x^{4}-4 a^{2} c d \,x^{2}+6 a b \,c^{2} x^{2}+a^{2} c^{2}}{3 \sqrt {d \,x^{2}+c}\, c^{3} x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2+a)^2/x^4/(d*x^2+c)^(3/2),x)

[Out]

-1/3*(-8*a^2*d^2*x^4+12*a*b*c*d*x^4-3*b^2*c^2*x^4-4*a^2*c*d*x^2+6*a*b*c^2*x^2+a^2*c^2)/(d*x^2+c)^(1/2)/x^3/c^3

________________________________________________________________________________________

maxima [A]  time = 0.88, size = 117, normalized size = 1.21 \begin {gather*} \frac {b^{2} x}{\sqrt {d x^{2} + c} c} - \frac {4 \, a b d x}{\sqrt {d x^{2} + c} c^{2}} + \frac {8 \, a^{2} d^{2} x}{3 \, \sqrt {d x^{2} + c} c^{3}} - \frac {2 \, a b}{\sqrt {d x^{2} + c} c x} + \frac {4 \, a^{2} d}{3 \, \sqrt {d x^{2} + c} c^{2} x} - \frac {a^{2}}{3 \, \sqrt {d x^{2} + c} c x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^2/x^4/(d*x^2+c)^(3/2),x, algorithm="maxima")

[Out]

b^2*x/(sqrt(d*x^2 + c)*c) - 4*a*b*d*x/(sqrt(d*x^2 + c)*c^2) + 8/3*a^2*d^2*x/(sqrt(d*x^2 + c)*c^3) - 2*a*b/(sqr
t(d*x^2 + c)*c*x) + 4/3*a^2*d/(sqrt(d*x^2 + c)*c^2*x) - 1/3*a^2/(sqrt(d*x^2 + c)*c*x^3)

________________________________________________________________________________________

mupad [B]  time = 0.76, size = 76, normalized size = 0.78 \begin {gather*} -\frac {a^2\,c^2-4\,a^2\,c\,d\,x^2-8\,a^2\,d^2\,x^4+6\,a\,b\,c^2\,x^2+12\,a\,b\,c\,d\,x^4-3\,b^2\,c^2\,x^4}{3\,c^3\,x^3\,\sqrt {d\,x^2+c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^2)^2/(x^4*(c + d*x^2)^(3/2)),x)

[Out]

-(a^2*c^2 - 8*a^2*d^2*x^4 - 3*b^2*c^2*x^4 + 6*a*b*c^2*x^2 - 4*a^2*c*d*x^2 + 12*a*b*c*d*x^4)/(3*c^3*x^3*(c + d*
x^2)^(1/2))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b x^{2}\right )^{2}}{x^{4} \left (c + d x^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2+a)**2/x**4/(d*x**2+c)**(3/2),x)

[Out]

Integral((a + b*x**2)**2/(x**4*(c + d*x**2)**(3/2)), x)

________________________________________________________________________________________